@import 'modules/base.scss';
@import 'modules/header.scss';
@import 'modules/footer.scss';

section{
    .carts{
        width: 1170px;
        margin: 0 auto;
        margin-top: 30px;
        border: 1px solid #dbdbdb;
        border-radius:15px;
         .carts-top{ 
             height: 60px;
             padding-left: 30px;
             line-height: 60px;
             font-size: 18px;
             font-weight:900; 
             border-bottom:1px solid #dbdbdb;
            }   
        .carts-contect{
            .shop{
                margin:0 30px;
            }
            .shopStatement{
                margin:0 30px;
            }
            .noLogin{
                height: 58px;
                line-height: 58px;
                margin:0 30px;
                border-bottom:1px solid #dbdbdb;
                span{
                    font-weight:900; 
                }
                div{
                    height: 28px;
                    width: 58px;
                    margin-left: 20px;
                    text-align: center;
                    line-height: 28px;
                    border: 1px solid #dbdbdb;
                    border-radius: 5px;
                    background:#ed474b;
                    display: inline-block;
                    a{
                        color: #fcfcfc;
                    }
                }
            }
            div.infoHead{
                width: 100%;
                height: 40px;
                line-height: 38px;
                border-bottom: 1px solid #dbdbdb;
                display: flex;
                justify-content: space-around;
            }
            div.shop{
                width: 95%;
                min-height: 350px;
                background: white;
                margin-top: 10px;
                // overflow: hidden;
                padding-bottom: 15px;
                box-sizing: border-box;
                div.shopMessage{
                    width: 100%;
                    min-height:0px;
                    ul.shop-top{
                        width: 100%;
                        height: 95px;
                        margin-top: 23px;
                        display: flex;
                        align-items: flex-start;
                        padding: 20px 0 0 40px;
                        box-sizing: border-box;
                        li{
                            font-size: 12px;
                            color: #3a3a3a;
                        }
                        li:nth-child(1){
                            width: 13px;
                            height: 13px;
                            margin-right: 22px;
                            cursor: pointer;
                        }
                        li.shopImg{
                            width: 82px;
                            height: 75px;
                            margin-right: 29px;
                            img{
                                width: 100%;
                                height: 100%;
                            }
                        }
                        li.shopInfo{
                            width:100px;
                            margin-right: 50px;
                        }
                        li.shopPrice{
                            margin-right: 152px;
                        }
                        li.shopNum{
                            width: 88px;
                            height: 20px;
                            border: 1px solid #d6d6d6;
                            margin-right: 155px;
                            position: relative;
                            span{
                                float: left;
                                text-align: center;
                                line-height: 20px;
                            }
                            span.cut{
                                width: 22px;
                                height: 19px;
                                border-right: 1px solid #d6d6d6;
                                font-size: 23px;
                                color: #d6d6d6;
                                cursor: pointer;
                            }
                            span.cut:hover{
                                box-shadow: 1px 1px 10px #888888
                            }
                            span.num{
                                width: 42px;
                                height: 20px;
                                border-right: 1px solid #d6d6d6;
                                font-size: 14px;
                                color: #000000;
                            }
                            span.add{
                                width: 20px;
                                height: 19px;
                                font-size: 12px;
                                color: #717171;
                                cursor: pointer;
                            }
                            span.add:hover{
                                box-shadow: 1px 1px 10px #888888
                            }
                            span.promt{
                                position: absolute;
                                font-size: 15px;
                                color: white;
                                background: #ca141d;
                                width: 227px;
                                height: 20px;
                                display: none;
                                left: -15px;
                                top: -30px;
                            }
    
                        }
                        li.shopSubtotal{
                            width: 57px;
                            margin-right: 160px;
                            color: #ca141d;
                            font-weight: 800;
                        }
                        li.shopClear{
                            position: relative;
                            span{
                                color: #a4a4a4;
                                cursor: pointer;
                            }
                            div.shopClearModel{
                                width: 288px;
                                height: 121px;
                                border: 1px solid #ca141d;
                                position: absolute;
                                left:-161px;
                                top:-137px;
                                z-index: 21;
                                background: white;
                                display: none;
                                p{
                                    width: 100%;
                                    height: 20px;
                                    line-height: 20px;
                                    font-size: 15px;
                                    text-align: center;
                                    color: #ca141d;
                                    margin: 27px 0 29px 0px;
                                }
                                div{
                                    width: 253px;
                                    height: 30px;
                                    margin: 0 auto;
                                    button:nth-child(1){
                                        float: left;
                                        width: 120px;
                                        height: 30px;
                                        margin-right: 13px;
                                        color: white;
                                        background: #ca141d;
                                    }
                                    button:nth-child(1):hover{
                                        background: #ab0009;
                                    }
                                    button:nth-child(2){
                                        width: 118px;
                                        height: 28px;
                                        border: 1px solid #bbbbbb;
                                        background: white;
                                        color: #333333;
                                        float: left;
                                    }
                                    button:nth-child(2):hover{
                                        border: none;
                                        width: 120px;
                                        height: 30px;
                                        background: #3a3a3a;
                                        color: white;
                                    }
                                }
                                img{
                                    width: 8px;
                                    height: 8px;
                                    position: absolute;
                                    left: 167px;
                                    top: 120px;
                                }
    
    
                            }
                        }
                    }
    
                }
                
                div.shop-mid{
                    width: 1090px;
                    height: 111px;
                    margin: 20px 0 0 67px;
                    background: #f5f5f5;
                    position: relative;
                    span.triangle{
                        width: 0px;
                        height: 0px;
                        border-width: 8px;
                        border-style: solid;
                        border-color: transparent transparent #f5f5f5 transparent;
                        position: absolute;
                        left: 43px;
                        top: -16px;
                    }
                }
                div.shop-bottom{
                    width: 1090px;
                    height: 76px;
                    margin: 2px 0 15px 67px;
                    background: #f5f5f5;
                }
                div.nullCart{
                    width: 100%;
                    height: 535px;
                    display: none;
                    text-align: center;
                    div{
                        width: 100%;
                        height: 400px;
                        background: url(/images/gouwu_03.png) no-repeat center 60px;
                    }
                    p{
                        font-size: 12px;
                        color: #8d8d8d;
                    }
                    a{
                        display: inline-block;
                        height: 44px;
                        width: 138px;
                        border: 1px solid #646464;
                        border-radius: 10px;
                        text-align: center;
                        line-height: 44px;
                        background: #fcfcfc;
                        color: #646464;
                    }
                }
            }
            div.shopStatement{
                border-top:1px solid #d9d9d9; 
                height: 80px;
                display: flex;
                align-items: center;
                padding-left: 30px;
                box-sizing: border-box;
                margin: 15px 0 0 0;
                span.bgChange{
                    width: 15px;
                    height: 15px;
                    border-radius:50%; 
                    border: 1px solid #333333;
                    margin-right: 14px;
                    cursor: pointer;
                }
                span.spanAll,div.allDelete{
                    width: 40px;
                    height: 14px;
                    line-height: 14px;
                    text-align: center;
                    font-size: 12px;
                    color: #3a3a3a;
                }
                span.spanAll{
                    margin-right: 20px;
                }
                div.allDelete{
                    position: relative;
                    margin-right: 595px;
                    span{
                        cursor: pointer;
                    }
                    div.allDeleteModel{
                        width: 288px;
                        height: 121px;
                        border: 1px solid #ca141d;
                        position: absolute;
                        left:-161px;
                        top:-137px;
                        z-index: 21;
                        background: white;
                        display: none;
                        p{
                            width: 100%;
                            height: 20px;
                            line-height: 20px;
                            font-size: 15px;
                            text-align: center;
                            color: #ca141d;
                            margin: 27px 0 29px 0px;
                        }
                        div{
                            width: 253px;
                            height: 30px;
                            margin: 0 auto;
                            button:nth-child(1){
                                float: left;
                                width: 120px;
                                height: 30px;
                                margin-right: 13px;
                                color: white;
                                background: #ca141d;
                            }
                            button:nth-child(1):hover{
                                background: #ab0009;
                            }
                            button:nth-child(2){
                                width: 118px;
                                height: 28px;
                                border: 1px solid #bbbbbb;
                                background: white;
                                color: #333333;
                                float: left;
                            }
                            button:nth-child(2):hover{
                                border: none;
                                width: 120px;
                                height: 30px;
                                background: #3a3a3a;
                                color: white;
                            }
                        }
                        img{
                            width: 8px;
                            height: 8px;
                            position: absolute;
                            left: 167px;
                            top: 120px;
                        }
                    }
                    div.allChoose{
                        width: 288px;
                        height: 72px;
                        position: absolute;
                        left:-161px;
                        top: -90px;
                        z-index: 21;
                        border: 1px solid #ca141d;
                        background: white;
                        display: none;
                        p{
                            width: 80%;
                            height: 22px;
                            display: block;
                            margin: 25px auto;
                            line-height: 22px;
                            font-size: 17px;
                            color: white;
                            background: #ca141d;
                            text-align: center;   
                        }
                        img{
                            width: 8px;
                            height: 8px;
                            position: absolute;
                            left: 167px;
                            top: 71px;
                        }
                        span{
                            position: absolute;
                            left:270px;
                            top: 4px;
                            width: 15px;
                            height: 15px;
                            line-height: 10px;
                            font-size: 21px;
                            color: #ca141d;
                            background:white;
                        }
                    }
                }
                div.all{
                    width: 207px;
                    height: 34px;
                    p:nth-child(1){
                        width: 100%;
                        padding-left: 46px;
                        box-sizing: border-box;
                        font-size: 12px;
                        color: #3a3a3a;
                        span{
                            font-size: 15px;
                            color: #ca141d;
                            font-weight: 800;
                        }
                    }
                    p:nth-child(2){
                        font-size: 12px;
                        color: #a4a4a4;
                        span:nth-child(1){
                            color: #ca141d;
                            font-weight: 500;
                            border: none;
                            margin-right: 0;
                        }
                        span:nth-child(2){
                            color: #3a3a3a;
                        }
                    }
                }
                button{
                    width: 180px;
                    height: 60px;
                    font-size: 14px;
                    background: #f51200;
                    color: white;
                    font-weight: 900;
                    cursor: pointer;
                    border-radius:10px;
                    border: none; 
                }
            }
           
    
        }
    }
}
